package com.groupjx.vo;

import lombok.Builder;
import lombok.Data;

import java.util.List;


@Data
@Builder
public class OrderCreateReqVO {


    private String extendOrderId;


    private TempAddress tempAddress;


    private List<ShopItem> shopItems;


    private Price price;


    @Data
    @Builder
    public static class Price {

        private Integer totalPrice;

        private Integer discountPrice;

        private Integer deliveryPrice;

        private Integer payPrice;

        private Integer skuCount;

    }


    @Data
    @Builder
    public static class TempAddress {

        private String receiverName;

        private String receiverMobile;

        private String receiverDetailAddress;
    }


    @Data
    @Builder
    public static class ShopItem {

        private String shopId;

        private String userRemark;

        private List<Item> items;

        private Integer totalPrice;

        private Integer discountPrice;

        private Integer deliveryPrice;

        private Integer payPrice;

        private Integer skuCount;

    }


    @Data
    @Builder
    public static class Item {

        private String inventoryId;

        private Integer count;

    }

}
